<%@ page import="com.mars.pojo.People" %><%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/11/15
  Time: 12:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    People people = new People();
    people.setAddress("西安");
    people.getAddress();
%>

<jsp:useBean id="people" class="com.mars.pojo.People" scope="page"/>

<jsp:setProperty name="people" property="address" value="西安"/>

地址：
<jsp:getProperty name="people" property="address"/>




</body>
</html>
